﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace Brjostagjof_H4.Models
{

    public class ContactModel //: ContactUs
    {
        [Required(ErrorMessage = "{0} má ekki vera tómt")]
        [Email(ErrorMessage="{0} er ekki gilt")]
        [DisplayName("Netfang")]
        public string email { get; set; }

        [Required(ErrorMessage = "{0} má ekki vera tómt")]
        [DisplayName("Efni")]
        public string subj { get; set; }

        //[Required(ErrorMessage = "{0} verður að vera valinn")]
        [DisplayName("Skilaboð")]
        public string txt { get; set; }

        public Guid userId { get; set; }
    }
}
